import 'package:flutter_09_game/pages/deposit/deposit_record/deposit_record_view.dart';
import 'package:flutter_09_game/pages/game/game_detail/game_detail_view.dart';
import 'package:flutter_09_game/pages/game/game_draw_results/game_draw_results_view.dart';
import 'package:flutter_09_game/pages/game/game_mine_results/game_mine_results_view.dart';
import 'package:flutter_09_game/pages/home/home_course/home_course_view.dart';
import 'package:flutter_09_game/pages/home/home_gameplay_tutorial/home_gameplay_tutorial_view.dart';
import 'package:flutter_09_game/pages/login/login_view.dart';
import 'package:flutter_09_game/pages/profile/profile_bet_record/profile_bet_record_view.dart';
import 'package:flutter_09_game/pages/profile/profile_bind_address/profile_bind_address_view.dart';
import 'package:flutter_09_game/pages/profile/profile_edit/profile_edit_name/profile_edit_name_view.dart';
import 'package:flutter_09_game/pages/profile/profile_edit/profile_edit_view.dart';
import 'package:flutter_09_game/pages/profile/profile_edit_fund_password/profile_edit_fund_password_view.dart';
import 'package:flutter_09_game/pages/profile/profile_edit_login_password/profile_edit_login_password_view.dart';
import 'package:flutter_09_game/pages/profile/profile_edit_security_question/profile_edit_security_question_view.dart';
import 'package:flutter_09_game/pages/profile/profile_edit_trc/profile_edit_trc_view.dart';
import 'package:flutter_09_game/pages/profile/profile_find_fund_password/profile_find_fund_password_view.dart';
import 'package:flutter_09_game/pages/profile/profile_find_login_password/profile_find_login_password_view.dart';
import 'package:flutter_09_game/pages/profile/profile_language/profile_language_view.dart';
import 'package:flutter_09_game/pages/profile/profile_safety_center/profile_safety_center_view.dart';
import 'package:flutter_09_game/pages/profile/profile_set_password/profile_set_password_view.dart';
import 'package:flutter_09_game/pages/profile/profile_trc_manager/profile_trc_manager_view.dart';
import 'package:flutter_09_game/pages/promotion/promotion_transfer_commission/promotion_transfer_commission_view.dart';
import 'package:flutter_09_game/pages/promotion/promotion_withdraw/promotion_withdraw_view.dart';
import 'package:flutter_09_game/pages/splash/splash_view.dart';
import 'package:flutter_09_game/pages/test_list/test_list_view.dart';
import 'package:flutter_09_game/pages/home/home_download_center/home_download_center_view.dart';
import 'package:flutter_09_game/pages/web/web_view.dart';
import 'package:flutter_09_game/pages/web_service/web_service_view.dart';
import 'package:get/get.dart';
import '../pages/main/main_view.dart';
import '../pages/home/home_view.dart';
import '../pages/promotion/promotion_view.dart';
import '../pages/deposit/deposit_view.dart';
import '../pages/welfare/welfare_view.dart';
import '../pages/profile/profile_view.dart';

class AppRoutes {
  // 主页面路由
  static const main = '/';
  static const splash = '/splash';

  // 子页面路由
  static const home = '/home';
  static const promotion = '/promotion';
  static const deposit = '/deposit';
  static const welfare = '/welfare';
  static const profile = '/profile';

  static const String testPage = '/testPage';
  static const String loginPage = '/loginPage';
  static const String gameDetailPage = '/gameDetailPage';
  static const String profileEditPage = '/profileEditPage';

  static const String profileEditNamePage = '/profileEditNamePage';
  static const String profileLanguagePage = '/profileLanguagePage';
  static const String depositRecordPage = '/depositRecordPage';
  static const String homeDownloadCenterPage = '/homeDownloadCenterPage';

  static const String homeCoursePage = '/homeCoursePage';
  static const String homeGameplayTutorialPage = '/homeGameplayTutorialPage';
  static const String profileBetRecordPage = '/profileBetRecordPage';
  static const String profileSafetyCenterPage = '/profileSafetyCenterPage';
  static const String profileSetPasswordPage = '/profileSetPasswordPage';
  static const String profileEditFundPasswordPage =
      '/profileEditFundPasswordPage';

  static const String profileFindFundPasswordPage =
      '/profileFindFundPasswordPage';
  static const String profileBindAddressPage = '/profileBindAddressPage';
  static const String profileEditSecurityQuestionPage =
      '/profileEditSecurityQuestionPage';
  static const String profileFindLoginPasswordPage =
      '/profileFindLoginPasswordPage';
  static const String profileEditLoginPasswordPage =
      '/profileEditLoginPasswordPage';
  static const String profileTrcManagerPage = '/profileTrcManagerPage';
  static const String profileEditTrcPage = '/profileEditTrcPage';
  static const String promotionTransferCommissionPage =
      '/promotionTransferCommissionPage';
  static const String promotionWithdrawPage = '/promotionWithdrawPage';
  static const String webPage = '/webPage';
  static const String gameDrawResultsPage = '/gameDrawResultsPage';
  static const String gameMineResultsPage = '/gameMineResultsPage';
  static const String webServicePage = '/webServicePage';

  // webServicePage

  static var pages = [
    GetPage(name: main, page: () => MainPage()),
    GetPage(name: splash, page: () => SplashPage()),
    GetPage(name: home, page: () => HomePage()),
    GetPage(name: promotion, page: () => PromotionPage()),
    GetPage(name: deposit, page: () => DepositPage()),
    GetPage(name: welfare, page: () => WelfarePage()),
    GetPage(name: profile, page: () => ProfilePage()),
    GetPage(
      name: loginPage,
      page: () => LoginPage(),
      transition: Transition.downToUp,
    ),

    GetPage(name: testPage, page: () => TestListPage()),
    GetPage(name: gameDetailPage, page: () => GameDetailPage()),

    GetPage(name: profileEditPage, page: () => ProfileEditPage()),
    GetPage(name: profileEditNamePage, page: () => ProfileEditNamePage()),
    GetPage(name: profileLanguagePage, page: () => ProfileLanguagePage()),

    GetPage(name: depositRecordPage, page: () => DepositRecordPage()),
    GetPage(name: homeDownloadCenterPage, page: () => HomeDownloadCenterPage()),
    GetPage(name: homeCoursePage, page: () => HomeCoursePage()),
    GetPage(
        name: homeGameplayTutorialPage, page: () => HomeGameplayTutorialPage()),
    GetPage(name: profileBetRecordPage, page: () => ProfileBetRecordPage()),
    GetPage(
        name: profileSafetyCenterPage, page: () => ProfileSafetyCenterPage()),
    GetPage(name: profileSetPasswordPage, page: () => ProfileSetPasswordPage()),


    GetPage(
        name: profileEditFundPasswordPage,
        page: () => ProfileEditFundPasswordPage()),

    GetPage(
        name: profileFindFundPasswordPage,
        page: () => ProfileFindFundPasswordPage()),
    GetPage(name: profileBindAddressPage, page: () => ProfileBindAddressPage()),
    GetPage(
        name: profileEditSecurityQuestionPage,
        page: () => ProfileEditSecurityQuestionPage()),
    GetPage(
        name: profileEditLoginPasswordPage,
        page: () => ProfileEditLoginPasswordPage()),
    GetPage(
        name: profileFindLoginPasswordPage,
        page: () => ProfileFindLoginPasswordPage()),
    GetPage(name: profileTrcManagerPage, page: () => ProfileTrcManagerPage()),
    GetPage(name: profileEditTrcPage, page: () => ProfileEditTrcPage()),
    GetPage(
        name: promotionTransferCommissionPage,
        page: () => PromotionTransferCommissionPage()),
    GetPage(name: promotionWithdrawPage, page: () => PromotionWithdrawPage()),
    GetPage(name: webPage, page: () => WebPage()),
    GetPage(name: gameDrawResultsPage, page: () => GameDrawResultsPage()),
    GetPage(name: gameMineResultsPage, page: () => GameMineResultsPage()),
    GetPage(name: webServicePage, page: () => WebServicePage()),

    // WebServicePage
  ];
}
